package homework.day10;

public class day10 {
    public static void main(String[] args) {
        String str=new String("fileviewgoodrunbuildfilehelp");
        System.out.println(str.length());
        for (int i = 0; i < str.length(); i++) {
            System.out.print(str.charAt(str.length()-i-1));
        }



        System.out.println("fileviewgoodrunbuildfilehelp".indexOf('g'));
        String z = str.substring(8,20);
        System.out.println(z);



        String x = str.substring(23,28);
        System.out.println(x);
        }

}
